{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Exercise 02.1\n",
    "\n",
    "Create a function that receives two inputs a and b, and returns the product of the a decimal of pi and the b decimal of pi.\n",
    "\n",
    "```\n",
    "i.e, \n",
    "pi = 3.14159\n",
    "if a = 2 and b = 4\n",
    "result = 4 * 5\n",
    "result = 20\n",
    "```\n",
    "\n",
    "Caveats:\n",
    "- a and b are between 1 and 15\n",
    "- decimals positions 1 and 2 are 1 and 4, respectively. (remember that python start indexing in 0)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "from math import pi\n",
    "def mult_dec_pi(a, b):\n",
    "    \n",
    "    # Add the solution here\n",
    "    \n",
    "    result = ''\n",
    "    return result"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "mult_dec_pi(a=2, b=4)\n",
    "# 20.0"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "mult_dec_pi(a=5, b=10)\n",
    "# 45.0"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "mult_dec_pi(a=14, b=1)\n",
    "# 9.0"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "mult_dec_pi(a=6, b=8)\n",
    "# 10.0"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": [
    "# Bonus\n",
    "mult_dec_pi(a=16, b=4)\n",
    "# 'Error'"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Exercise 02.2\n",
    "\n",
    "Using the given dataset. Estimate a linear regression between Employed and GNP.\n",
    "\n",
    "$$Employed = b_0 + b_1 * GNP $$\n",
    "\n",
    "$$\\hat b = (X^TX)^{-1}X^TY$$\n",
    "$$Y = Employed$$\n",
    "$$X = [1  \\quad GNP]$$"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Text(0,0.5,'Employed')"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYIAAAEKCAYAAAAfGVI8AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4wLCBo\ndHRwOi8vbWF0cGxvdGxpYi5vcmcvpW3flQAAFmRJREFUeJzt3XuQZGd93vHvswiBFyMvoOVSiNVI\nMRYBCgkxdqAwgqBAMOHq4Co5k0RRLhsIFsaYi5RNEah4XRgItuJywGsJWYYhWFlzKyooKFxiJ7EW\nZnXhohUGZK20BsEQG0jYBEXsL3+cM+xomEvP5XT39Pl+qqa6z9vndP+2SzpPv+ec97ypKiRJ/bVj\n1AVIkkbLIJCknjMIJKnnDAJJ6jmDQJJ6ziCQpJ4zCCSp5wwCSeo5g0CSeu6UURcwiNNPP72mpqZG\nXYYkbSuHDx/+VlXtXmu9bREEU1NTzM3NjboMSdpWkhwdZD0PDUlSzxkEktRzBoEk9ZxBIEk9ZxBI\nUs8ZBJI0hmZnYWoKduxoHmdnu/usbXH5qCT1yews7N0Lx483y0ePNssAMzNb/3n2CCRpzOzbdzIE\nFhw/3rR3wSCQpDFz553ra98sg0CSxsyePetr3yyDQJLGzP79sHPnfdt27mzau2AQSNKYmZmBAwfg\nzDMhaR4PHOjmRDF41ZAkjaWZme52/EvZI5CknjMIJKnnOguCJOckuXnR33eTvDrJQ5Ncn+TL7eND\nuqpBkrS2zoKgqr5UVedV1XnAU4DjwAeBy4BPVNVjgU+0y5KkERnWoaELga9W1VHgxcA1bfs1wEuG\nVIMkaRnDCoKLgP/QPn9EVX0doH18+JBqk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U0l84VzRn+fw5QVV9Mci3NLGv3Aq+sqh8MveqT\nHgVck+R+tJP9VNVHk9wKvD/JrwE30YQd7eN7knyF5tfoRaMourVS7Z9MspumS3wz8PJ2/f9Ec/XH\nV4DjNBMcjaM3MP7f/Upmt8l3/wjgg+259lOA91XVdUk+y/ITXo1T/SvV/p5R73McWSxJPdfbQ0OS\npIZBIEk9ZxBIUs8ZBJLUcwaBJPWcQSCtIMkjkrwvye3tLQH+NMlLkzwrSSV54aJ1P5rkWe3zT7d3\ni7wlyX9Pcs7I/hHSAAwCaRntwKoPAX9cVWdX1VNorv8/o13lGLBvlbeYqapzaW6A9rZOi5U2ySCQ\nlvds4J6qetdCQ1UdrarfbhdvAb6T5DlrvM8fAz/ZUY3SljAIpOU9AbhxjXV+DfhXa6zzQuDzW1KR\n1BGDQBpAkt9pj/l/dqGtqv6kfe0Zy2wy29665OnAa4dUprQhfb7XkLSaLwJ/d2Ghql6Z5HRgbsl6\n+2nOFdy7pH2mqpauK40lewTS8j4JPDDJKxa17Vy6UlV9HHgIcO6wCpO2mkEgLaO9TfRLgGemmdT9\nMzRXAL1hmdX3c/JqImnb8e6jktRz9ggkqecMAknqOYNAknrOIJCknjMIJKnnDAJJ6jmDQJJ6ziCQ\npJ77/zkjhHUhbcJ/AAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x182c9b2b9e8>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "%matplotlib inline\n",
    "import numpy as np\n",
    "import matplotlib.pyplot as plt\n",
    "# Import data\n",
    "raw_data = \"\"\"\n",
    "Year,Employed,GNP\n",
    "1947,60.323,234.289\n",
    "1948,61.122,259.426\n",
    "1949,60.171,258.054\n",
    "1950,61.187,284.599\n",
    "1951,63.221,328.975\n",
    "1952,63.639,346.999\n",
    "1953,64.989,365.385\n",
    "1954,63.761,363.112\n",
    "1955,66.019,397.469\n",
    "1956,67.857,419.18\n",
    "1957,68.169,442.769\n",
    "1958,66.513,444.546\n",
    "1959,68.655,482.704\n",
    "1960,69.564,502.601\n",
    "1961,69.331,518.173\n",
    "1962,70.551,554.894\"\"\"\n",
    "\n",
    "data = []\n",
    "for line in raw_data.splitlines()[2:]:\n",
    "    words = line.split(',')\n",
    "    data.append(words)\n",
    "data = np.array(data, dtype=np.float)\n",
    "n_obs = data.shape[0]\n",
    "plt.plot(data[:, 2], data[:, 1], 'bo')\n",
    "plt.xlabel(\"GNP\")\n",
    "plt.ylabel(\"Employed\")"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {
    "collapsed": true
   },
   "source": [
    "# Exercise 02.3\n",
    "\n",
    "Analyze the baby names dataset using pandas"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "# Load dataset\n",
    "import zipfile\n",
    "with zipfile.ZipFile('../datasets/baby-names2.csv.zip', 'r') as z:\n",
    "    f = z.open('baby-names2.csv')\n",
    "    names = pd.io.parsers.read_table(f, sep=',')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>year</th>\n",
       "      <th>name</th>\n",
       "      <th>prop</th>\n",
       "      <th>sex</th>\n",
       "      <th>soundex</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>1880</td>\n",
       "      <td>John</td>\n",
       "      <td>0.081541</td>\n",
       "      <td>boy</td>\n",
       "      <td>J500</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>1880</td>\n",
       "      <td>William</td>\n",
       "      <td>0.080511</td>\n",
       "      <td>boy</td>\n",
       "      <td>W450</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>1880</td>\n",
       "      <td>James</td>\n",
       "      <td>0.050057</td>\n",
       "      <td>boy</td>\n",
       "      <td>J520</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>1880</td>\n",
       "      <td>Charles</td>\n",
       "      <td>0.045167</td>\n",
       "      <td>boy</td>\n",
       "      <td>C642</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>1880</td>\n",
       "      <td>George</td>\n",
       "      <td>0.043292</td>\n",
       "      <td>boy</td>\n",
       "      <td>G620</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "   year     name      prop  sex soundex\n",
       "0  1880     John  0.081541  boy    J500\n",
       "1  1880  William  0.080511  boy    W450\n",
       "2  1880    James  0.050057  boy    J520\n",
       "3  1880  Charles  0.045167  boy    C642\n",
       "4  1880   George  0.043292  boy    G620"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "names.head()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style>\n",
       "    .dataframe thead tr:only-child th {\n",
       "        text-align: right;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: left;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>year</th>\n",
       "      <th>name</th>\n",
       "      <th>prop</th>\n",
       "      <th>sex</th>\n",
       "      <th>soundex</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>113000</th>\n",
       "      <td>1993</td>\n",
       "      <td>Michael</td>\n",
       "      <td>0.024010</td>\n",
       "      <td>boy</td>\n",
       "      <td>M240</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>113001</th>\n",
       "      <td>1993</td>\n",
       "      <td>Christopher</td>\n",
       "      <td>0.018572</td>\n",
       "      <td>boy</td>\n",
       "      <td>C623</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>113002</th>\n",
       "      <td>1993</td>\n",
       "      <td>Matthew</td>\n",
       "      <td>0.017332</td>\n",
       "      <td>boy</td>\n",
       "      <td>M300</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>113003</th>\n",
       "      <td>1993</td>\n",
       "      <td>Joshua</td>\n",
       "      <td>0.016268</td>\n",
       "      <td>boy</td>\n",
       "      <td>J200</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>113004</th>\n",
       "      <td>1993</td>\n",
       "      <td>Tyler</td>\n",
       "      <td>0.014439</td>\n",
       "      <td>boy</td>\n",
       "      <td>T460</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div>"
      ],
      "text/plain": [
       "        year         name      prop  sex soundex\n",
       "113000  1993      Michael  0.024010  boy    M240\n",
       "113001  1993  Christopher  0.018572  boy    C623\n",
       "113002  1993      Matthew  0.017332  boy    M300\n",
       "113003  1993       Joshua  0.016268  boy    J200\n",
       "113004  1993        Tyler  0.014439  boy    T460"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "names[names.year == 1993].head()   "
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### segment the data into boy and girl names"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "boys = names[names.sex == 'boy'].copy()    \n",
    "girls = names[names.sex == 'girl'].copy()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Analyzing the popularity of a name over time"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAEMCAYAAAAoB2Y1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4wLCBo\ndHRwOi8vbWF0cGxvdGxpYi5vcmcvpW3flQAAIABJREFUeJzt3Xl8VOX1x/HPyR4SSAiELSCERdlk\nM4L7WvcFa921LrW1tlq7V9vaX6t2s4tbq1UrWrdWrVbFXepaUJaAsi+yE/YQCATIfn5/3EFjTMgk\nmWSSzPf9es2LO/eeeebMTDhz57nPfa65OyIiEhviop2AiIi0HhV9EZEYoqIvIhJDVPRFRGKIir6I\nSAxR0RcRiSFhFX0zO9XMlprZcjO7qY7tx5jZHDOrNLPzam27wsw+Cd2uiFTiIiLSeNbQOH0ziweW\nAScBBcAs4GJ3X1QjZgDQBfgRMNndnw2tzwLygTzAgdnAIe6+PdIvREREGhbOnv54YLm7r3T3cuAp\nYGLNAHdf7e7zgOpajz0FmOLuRaFCPwU4NQJ5i4hIE4RT9HOAdTXuF4TWhaM5jxURkQhLCCPG6lgX\n7twNYT3WzK4BrgFIS0s7ZOjQoWE2LyIiALNnzy509+yG4sIp+gVAvxr3+wIbwsyjADiu1mPfrR3k\n7g8CDwLk5eV5fn5+mM2LiAiAma0JJy6c7p1ZwBAzyzWzJOAiYHKYebwBnGxmXc2sK3ByaJ2IiERB\ng0Xf3SuB6wmK9WLgGXdfaGa3mtnZAGZ2qJkVAOcDD5jZwtBji4DbCL44ZgG3hta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roi8i0ppCO3E/Jdhz7xFavQV4kWBHb0dz4ltDu+7TN7M8M3vHzJ4ws35mNsXMdpjZ\nrNBQqSbH1xNb3Mi29xefbma3mtnCUNxWM5tuteYAUnzD8W0pF8U3+bO6opFtNxS/oJG5hxUPPENw\nEP94d+/m7t0IRqbtAP4dgfiW19wjwdG8EUzYdBrBz711wHmh9ScCHzYnviXbDq1/kaBrqS/B0L9f\nAEOAR4HfKj78+LaUi+I7/Ge1dD/16AvbGhvfGrdWf8KIJv/5yZLW1retKfEt2XZoXe0J3maF/o0j\nOPFE8WHGt6VcFN/hP6s3gZ8QnA28b11Pghk0/9vc+Na4tevuHYLJlU42s/MJ5uXYN2/1sQQnjDQn\nviXbBthtwdzgmNlZQBEEZ5RCnXOKKL7++LaUi+I79md1IcE5A++Z2XYzKyIY8ZMFXBCB+JYXjW+a\nSN2A0cAbBGepDgXuJugrWwgc0Zz4lmw7FD+KoEtoBzAVODC0Phu4QfHhx7elXBTfsT+r0LahBMO8\n02utPzUS8S19a/UnbLUXBle1VHxLtq14fVaxGt+WcqkvHriB4DoeLwCrgYk1ttU1nUij4lvj1upP\n2GovLALzy0SjbcXrs4rV+LaUS33xBFO5pIeWBxCcsf7d0P26jt01Kr41bu36jFwLzmKscxPBwZIm\nx7dk24qPbHxbykXx+49vS7k0JZ5g2oYSAHdfbWbHAc9acIJdXccAGhvf4tp10Sf4UE4hGAdbkxHM\nJNic+JZsW/GRjW9LuSh+//FtKZemxG8yszHu/jGAu5eY2ZkE06QcHIH4Ftfei/7LBD+dPq69wcze\nbWZ8S7at+MjGt6VcFL//+LaUS1PiL6fWFbU8uD7H5Wb2QATiW5ymYRARiSHtfZy+iIg0goq+iEgM\nUdEXEYkhKvoiIjFERV9EJIb8P+G/MymBxQkMAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x182cab12e80>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "william = boys[boys['name']=='William']\n",
    "\n",
    "plt.plot(range(william.shape[0]), william['prop'])\n",
    "plt.xticks(range(william.shape[0])[::5], william['year'].values[::5], rotation='vertical')\n",
    "plt.ylim([0, 0.1])\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAEMCAYAAAAoB2Y1AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMS4wLCBo\ndHRwOi8vbWF0cGxvdGxpYi5vcmcvpW3flQAAIABJREFUeJzt3XmYXGWZ9/Hv3VW9J+kknY10AglZ\ngCTsDcHACLLjQlBhBEZBRkVUXGdG4R038HV8HWeG0RHHYXMQUEQGIaMsIpuAENIJSxYSaJKQdNZO\nOun03l1V9/vHOYGmqE5X9d59fp/rqqtPnXPXU08t/atTZ3nK3B0REYmGvMHugIiIDByFvohIhCj0\nRUQiRKEvIhIhCn0RkQhR6IuIREhWoW9m55rZOjOrNrNrMix/r5mtMLOEmV2YtuxyM3s9vFzeVx0X\nEZHcWXfH6ZtZDHgNOAuoAZYBl7j7mk41M4AxwN8DS9z93nD+eKAKqAQcWA4c7+57+vqBiIhI97JZ\n0z8RqHb39e7eDtwNLO5c4O4b3f0VIJV223OAR929Lgz6R4Fz+6DfIiLSA9mEfgWwudP1mnBeNnpz\nWxER6WPxLGosw7xsx27I6rZmdiVwJUBpaenxhx9+eJbNi4gIwPLly3e5+8Tu6rIJ/Rpgeqfr04Ct\nWfajBjgt7bZPphe5+03ATQCVlZVeVVWVZfMiIgJgZm9mU5fN5p1lwBwzm2lmBcDFwJIs+/EIcLaZ\njTOzccDZ4TwRERkE3Ya+uyeAqwnC+lXgHndfbWbXm9n5AGZ2gpnVABcB/2Vmq8Pb1gHfI/jgWAZc\nH84TEZFB0O0hmwNNm3dERHJnZsvdv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DHBtrLVwKLe1Pdn22H9UQSbhPYCzwBzw/kTgS+pPvv6odQX\n1Y/s1ypcdjjBYd6j0uaf2xf1/X0Z8DscsAcGV/RXfX+2rXq9VlGtH0p96aoe+BLB73jcD2wEFnda\nlmk4kZzqB+Iy4Hc4YA+sD8aXGYy2Va/XKqr1Q6kvXdUTDOUyKpyeQXDG+pfD65n23eVUPxCXYX1G\nrgVnMWZcRLCzpMf1/dm26vu2fij1RfUHrh9KfelJPcGwDY0A7r7RzE4D7rXgBLtM+wByre93wzr0\nCV6UcwiOg+3MCEYS7E19f7at+r6tH0p9Uf2B64dSX3pSv93MjnH3lwDcvdHMPkgwTMqRfVDf74Z7\n6P+e4KvTS+kLzOzJXtb3Z9uq79v6odQX1R+4fij1pSf1l5H2i1oe/D7HZWb2X31Q3+80DIOISIQM\n9+P0RUQkBwp9EZEIUeiLiESIQl9EJEIU+iIiEfL/ATuSa5poEc4rAAAAAElFTkSuQmCC\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x182caccaef0>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "Daniel = boys[boys['name']=='Daniel']\n",
    "\n",
    "plt.plot(range(Daniel.shape[0]), Daniel['prop'])\n",
    "plt.xticks(range(Daniel.shape[0])[::5], Daniel['year'].values[::5], rotation='vertical')\n",
    "plt.ylim([0, 0.1])\n",
    "plt.show()"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Exercise 02.3\n",
    "\n",
    "Which has been the most popular boy name every decade?"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Exercise 02.4\n",
    "\n",
    "Which has been the most popular girl name?\n"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Exercise 02.5\n",
    "\n",
    "What is the most popular new girl name? (new is a name that appears only in the 2000's)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.3"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}
